/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.tawriq.assignment2.question1.Encapsulation;

/**
 *
 * @author Tawriq
 */
public class Account {
    public int accountNumber = 0;
    private double balance = 0;
    
    public void setBalance(double balance){
        this.balance=balance;
    }
    
    public double getBalance(){
        return(balance);
    }
}
